<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <style>
      input[type] {
        border: solid 2px #ddd;
      }

      div[yahoo] {
        height: 100px;
        width: 100px;
        background-color: red;
      }
    </style>
    <input type="text" />

    <div class="" id="" title yahoo></div>
  </body>
</html>
